#ifndef PROJECTDATA_H
#define PROJECTDATA_H

#include <QHash>
#include <QString>
#include <QCoreApplication>
#include "ImageCoordinate.h"
#include "AlgorithmData.h"


class ProjectData
{
public:
    static ProjectData* getInstance()
    {
        static ProjectData instance;
        return &instance;
    }

public:
    int fovRowCount;
    int fovColCount;
    int fovCount;

    int fixtureRowCount;
    int fixtureColCount;
    int fixtureCount;

    int fovButtonCount;
    int roiButtonCount;

    int displayMode;

    ImageCoordinate coordinateMap;

    QStringList imageFileNameList;
    QHash<int,AlgorithmData*> algorithmHash;

    enum DisplayMode{
        SingleImage,
        MultipleImage
    };

    const QString halconImageFolder = QCoreApplication::applicationDirPath()+"/halconImage";

private:
    ProjectData();
};

#endif // PROJECTDATA_H
